package service;

import dao.CourseInfoMapper;
import dao.StuInfoMapper;
import model.CourseInfo;
import utils.MyBatisUtil;

import java.util.List;

/**
 * @Author XW
 * @Date 2022/4/14
 * @Time 20:09
 **/
public class CourseInfoService {
    CourseInfoMapper cim = MyBatisUtil.getSession().getMapper(CourseInfoMapper.class);
    public List<CourseInfo> findAll(Integer id){
        return cim.findAll(id);
    }
}
